<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>   <!-- action：提交表单路径   method：请求方式  -->
     <form action="${pageContext.request.contextPath}/springMVC/registerUser" method="get">
       <tr>     <!-- tr：行    td：列 -->
         <td>用户名：</td>
         <td><input type="text" name="name" value="${username}"></td>
       </tr>
       <br/>
       <tr>
         <td>密码：</td>
         <td><input type="password" name="password" value="${user.password}"></td>
       </tr>
       <br/>
       <input type="submit" value="注册">
     </form>
     <div>${pageContext.request.contextPath}</div>
</body>
</html>
